﻿using System;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;

namespace ComputerVision.Data
{
    public interface IEntitiesContext: IDisposable
    {
        DbSet<aspnet_Applications> aspnet_Applications { get; set; }
        DbSet<aspnet_Membership> aspnet_Membership { get; set; }
        DbSet<aspnet_Paths> aspnet_Paths { get; set; }
        DbSet<aspnet_PersonalizationAllUsers> aspnet_PersonalizationAllUsers { get; set; }
        DbSet<aspnet_PersonalizationPerUser> aspnet_PersonalizationPerUser { get; set; }
        DbSet<aspnet_Profile> aspnet_Profile { get; set; }
        DbSet<aspnet_Roles> aspnet_Roles { get; set; }
        DbSet<aspnet_SchemaVersions> aspnet_SchemaVersions { get; set; }
        DbSet<aspnet_Users> aspnet_Users { get; set; }
        DbSet<aspnet_WebEvent_Events> aspnet_WebEvent_Events { get; set; }

        int SaveChanges();
        DbSet<T> Set<T>() where T : class;
        DbEntityEntry<T> Entry<T>(T entity) where T : class;
    }
}
